package org.JieKou;

import org.example.demo01.Person;

import java.util.*;

public class Kan {
    public static void main(String[] args) {
       /* List<Integer>s21=new List<>();
        s21.add("b",25);
        s21.put("bc",36);
        s21.put("bng",54);
        s21.put("beuj",85);
        s21.put("beuj",52);
        s21.remove("b",25);
        System.out.println(list1);*/
        /*Set<String> s01=new HashSet<>();
        s01.add("ss");
        s01.add("ssk");
        s01.add("shfn");
        System.out.println(s01);*/
        List<Integer>s01=new ArrayList<>();
        Collections.addAll(s01,52,563,45,486);
        Collections.sort(s01);
        //Collections.shuffle(s01);
        System.out.println("原集合"+s01);
        Collections.shuffle(s01);
        System.out.println(s01);
        List<String>s21=new ArrayList<>();
        s21.add("hell");
        s21.add("kfh");
        s21.add("hen");
        System.out.println(s21);
        Collections.sort(s21);
        System.out.println(s21);
        List<Person>people=new ArrayList<>();
        people.add(new Person("nimeng",54));
        System.out.println(people);
    }
}
